package com.franz.noteapp.compose.editNote

import androidx.compose.ui.focus.FocusState

/**
 * 编辑/新建笔记页面所需执行的操作
 * 标题、内容、颜色、保存笔记*/
sealed class EditNoteEvent{
    data class EnterTitle(val title:String): EditNoteEvent()
    data class EnterContent(val content:String): EditNoteEvent()
    data class ChangeColor(val color:Int):EditNoteEvent()
    object SaveNote:EditNoteEvent()
}
